home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / misc-part1 / 1376 < prev    next >
Encoding:
Text File  |  1996-08-05  |  4.7 KB  |  93 lines

  1. Newsgroups: comp.sys.amiga.misc,comp.sys.amiga.hardware
  2. Path: netcom.com!wfblan
  3. From: wfblan@netcom.com (Wells Fargo Bank)
  4. Subject: Re: OS features
  5. Message-ID: <wfblanDL61Eq.DnH@netcom.com>
  6. Organization: NETCOM On-line Communication Services (408 261-4700 guest)
  7. X-Newsreader: TIN [version 1.2 PL1]
  8. References: <92747544038@PAPA.NORTH.DE> <4b3h9s$1st@alterdial.UU.NET> <2152.6561T63T2136@cycor.ca> <4b7i18$si1@vixen.cso.uiuc.edu> <oj6raxxrr0o.fsf@hpsrk.fc.hp.com> <13213431@sourcery.han.de>
  9. Date: Sun, 14 Jan 1996 10:06:26 GMT
  10. Sender: wfblan@netcom8.netcom.com
  11.  
  12. Olaf Barthel (olsen@sourcery.han.de) wrote:
  13. : In Article <oj6raxxrr0o.fsf@hpsrk.fc.hp.com>, Steve Koren <koren@hpsrk.fc.hp.com> wrote:
  14. : >
  15. : > Someone wrote:
  16. : >
  17. : > > >Memory protection is one, is it really worth the added overhead? I
  18. : >
  19. : > IMHO, yes, it is 100% worth the marginal overhead.  I could mention any
  20. : > of a zillion reasons, but here are a few:
  21. : >
  22. : >   * Right now, one cannot safely do program development on an Ami which
  23. : >     has been doing some long-duration background task without risk of
  24. : >     crashing the machine and loosing all the work the background task
  25. : >     has done.  I do a fair amount of programming, so this is annoying.
  26.  
  27. [snip]
  28.  
  29. : > Without protection, you can be tolerably stable for hobbyist use, as the
  30. : > Amiga is now, but you're never going to get to the level of stability
  31. : > you can get to with memory protection.  I want to be able to safely
  32. : > compile and debug my latest program, or try something I downloaded from
  33. : > aminet, while I'm 5 hours into a Lightwave render without the major risk
  34. : > of crashing the machine.
  35.  
  36. [snip]
  37.  
  38. Could a new 'layer' for the OS be written that you can set up a 'protected'
  39. portion of memory for a special purpose, ie, programming as the example is
  40. above, that within that protected memory it would act as its own machine,
  41. seperate from the rest?  Then, at the same time, the rest of the machine
  42. continues to run as it normally would (minus a little overhead for the new
  43. layer)?  Then, if the main part of memory crashed, the protected portion
  44. would still be intact and running?  You may have to 'finish' whatever you
  45. were doing in the 'protected' part of memory before you could re-boot to
  46. get back the rest of your system, but you at least wouldn't be forced into
  47. a re-boot for the portion of memory that was doing your 'important' task.
  48.  
  49. This could possibly be done more than once, and therefore have multiple
  50. parts of RAM set aside as 'protected' Memory space.  In any case, my main
  51. goal is to consider some approach to this that would allow us to work with
  52. the OS as it currently stands (adding a layer versus a complete re-write),
  53. that would also give us a much higher level of stability (when specifically
  54. needed and requested... ie, writing term paper, programming, rendering, etc).
  55. For 'game playing' or basic tele-communications, this wouldn't be critical.
  56.  
  57. I am not an experienced programmer on the Amiga, but I do use it with my
  58. own set of needs, desires and problems.  These ideas are coming from what
  59. I see as needed, generally, and what would specifically make me happy.
  60.  
  61. : > Someone else wrote:
  62. : >
  63. : > > In other words, don't worry about it.  Virtual memory is good.
  64. : >
  65. : > Yep, also, virtual memory can fix fragmentation problems that can plague
  66. : > Amigas now.  They give you an extra level of indirection that can be
  67. : > used to get a single non-fragmented block as big as your available
  68. : > space.  I use VMM on the Amiga as much for this as for getting more
  69. : > memory.  Without it, even on my 16 Mb machine, I sometimes get into a
  70. : > state where I have 12 Mb free but cannot allocate a 3 Mb buffer because
  71. : > my largest single fragment is less than that.  With VM, this is not a
  72. : > problem.  There may be fragmentation on the physical media, but the MMU
  73. : > can make this appear as a single contiguous block to the machine.  If I
  74. : > have 20 Mb free, I know I can allocate a single 20 Mb block of memory.
  75.  
  76. Now this is the FIRST time I have read a reason for Virtual Memory that I
  77. personally could have a use for.  I would rather have physical RAM over
  78. soft-RAM or a HD-cache anyday, but to solve fragmentation problems, this
  79. is a first for me.  I am glad to know that this solves that problem.  I
  80. hate it when I have the typical 'large' amount of free memory available,
  81. but can only access a reletively small portion of it due to fragmentation.
  82.  
  83. : --
  84. : Home: Olaf Barthel, Brabeckstrasse 35, D-30559 Hannover
  85. :  Net: olsen@sourcery.han.de
  86.  
  87. Not that I am aware of just how much programming experience ALL of you have,
  88. but for those of you who do have some, thanks for listening to my ideas.
  89. Hey, we can learn something from everyone, right?  Comments?
  90.  
  91.        Rob Bamford
  92.    (wfblan@netcom.com)
  93.